package com.ky.home.service.impl;

import com.ky.home.entity.Checkins;
import com.ky.home.entity.VO.CheckinVO;
import com.ky.home.mapper.CheckinsMapper;
import com.ky.home.service.CheckinsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author pl
 * @since 2024-06-18
 */
@Service
public class CheckinsServiceImpl extends ServiceImpl<CheckinsMapper, Checkins> implements CheckinsService {
    @Autowired
    CheckinsMapper Mapper;
    @Override
    public CheckinVO findCheckinsByUserId(int id) {
        return Mapper.findCheckinsByUserId(id);
    }
}
